package com.dao;


import com.entity.Order;

import java.util.List;
import java.util.Map;

public interface OrderMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Order record);

    Order selectByPrimaryKey(Long id);

    List<Order> selectAll();

    int updateByPrimaryKey(Order record);

    int updateByState(Map<String,String> stateMap);

    List<Order> getOrdersByPlayId(String playId);

    Order getOrdersByOrderId(String orderId);

}